package com.ls.pattern.chain.auth.optimize;

import com.ls.pattern.chain.auth.entity.Member;

/**
 * @author 挥之以墨
 */
public class LoginHandler extends Handler<Member,Void> {
    @Override
    public Void doHandler(Member member) {
        System.out.println("登录成功");
        member.setRoleName("管理员");
        next.doHandler(member);
        return null;
    }
}
